#include "letter.h"

Letter::Letter()
{

}

int Letter::getPosX()
{
    return m_x;
}

int Letter::getPosY()
{
    return m_y;
}

int Letter::getValue()
{
    return value;
}

void Letter::setPosX(int x)
{
    m_x = x;
    //this->m_x = x;
}

void Letter::setPosY(int y)
{
    m_y = y;
    //this->m_y = y;
}

void Letter::setPos(int x, int y)
{
    m_x = x;
    m_y = y;
    //this->m_x = x;
    //this->m_y = y;
}

void Letter::setValue(int v)
{
    value = v;
    //this->value = v;
}

void Letter:: setPixmap(QPixmap &p)
{
    this-> pix = p;
}

QSize Letter:: getSize()
{
    return pix.size();
}

QColor Letter:: getColor()
{
    return color;
}

void Letter:: setColor(QColor &c)
{
    color = c;
}
